AudioPlayer command line switches

-H Start AudioPlayer hidden

-HA Start AudioPlayer hidden and hides any/all other AudioPlayer windows

-HC Hides all open AudioPlayer windows (automatically includes -x)

-C Terminates all instances of AudioPlayer (automatically includes -x)

-S Shows all hidden AudioPlayer windows (automatically includes -x)

-X Terminates this instance (usually used only when communicating with other instances)

-O Opens and automatically plays the specified file (If the file is not in the same directory as audioplayer and or contains spaces the complete path must be specified i.e. "C:\Path\To\Music.mp3")

-T Starts AudioPlayer from the system tray

-L Turns looping on


Notes:

If both -T and -H are specified then -T takes priority.

If -L is specified and -O specifies a playlist, the first entry in the playlist will continuously loop.

-L requires user interaction to turn off unless the instance is terminated

-O cannot take a http:// file as an argument

If a hidden instance encounters errors, it will still display message boxes

There is currently no way to communicate with a specific running instance, it's either all or just the one you're launching.

You must start a new instance to communicate with any other audioplayer windows. For example, if you play a file like this: 

audioplayer -H -O "C:\Path\To\Music.mp3"

Then to close it and stop playing Music.mp3 you must do this: 

audioplayer -C

You don't need to worry about closing this one as it will automatically exit itself.